
print("字符串比较")
a = "abc"
b = "def"

print(a > b)
print(a >= b)
print(a < b)
print(a <= b)
print(a != b)
print(a == b)


print("float 比较")
print(0.1 + 0.2 == 0.3)
print(0.1 + 0.2 )
print(0.3)


print(-0.000001 <= 0.3 - (0.2 + 0.1) <= 0.000001 )